for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
var assert = require('assert');
describe('buffer', function() {
it("should reverse", function() {
var b = new Buffer('010203', 'hex');
Buffer
/** global: Buffer */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
assert.equal(b.reverse().toString('hex'), '030201');
});
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.